package org.cleverframe.fastdfs.spring.boot.autoconfigure;

import org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig;
import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "fdfs.pool")
public class FdfsProperties extends GenericKeyedObjectPoolConfig {

  /** 读取时间 */
  private int soTimeout = 1000;
  /** 连接超时时间 */
  private int connectTimeout = 1000;

  /** Tracker 地址列表 */
  private String[] trackers;
  

  public int getSoTimeout() {
    return soTimeout;
  }

  public void setSoTimeout(int soTimeout) {
    this.soTimeout = soTimeout;
  }

  public int getConnectTimeout() {
    return connectTimeout;
  }

  public void setConnectTimeout(int connectTimeout) {
    this.connectTimeout = connectTimeout;
  }

  public String[] getTrackers() {
    return trackers;
  }

  public void setTrackers(String[] trackers) {
    this.trackers = trackers;
  }

  
}
